package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 变压器空开监测对象 omp_ny_trans_check
 *
 * @author cjie
 * @date 2021-10-11
 */
@Data
@ApiModel
public class NyTransCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String id;

    /** 企业 */
    @Excel(name = "企业")
    @ApiModelProperty(value = "企业")
    private String enterprise;

    /** 空开id */
    @Excel(name = "空开id")
    @ApiModelProperty(value = "空开id")
    private Long swiftId;

    /** 读数 */
    @ApiModelProperty(value = "读数")
    private Long value;

    /** 抄表人 */
    @ApiModelProperty(value = "抄表人")
    private String checkBy;

    /** 抄表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抄表时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "抄表时间")
    private Date checkTime;

    //---属性---
    /** 供电箱编号 */
    @Excel(name = "供电箱编号")
    @ApiModelProperty(value = "供电箱编号")
    private String powerBoxNum;

    /** 部件编号 */
    @Excel(name = "箱变序号")
    @ApiModelProperty(value = "箱变序号")
    private Long transId;

    /** 箱变编号 */
    @Excel(name = "箱变编号")
    @ApiModelProperty(value = "箱变编号")
    private String transNum;

    /** 箱变名称 */
    @Excel(name = "箱变名称")
    @ApiModelProperty(value = "箱变名称")
    private String transName;

    /** 部件编号 */
    @Excel(name = "部件编号")
    @ApiModelProperty(value = "部件编号")
    private Long partId;

    private String parkNum;

    /** 部件编码 */
    @Excel(name = "部件编码")
    @ApiModelProperty(value = "部件编码")
    private String partNum;

    /** 部件编码 */
    @Excel(name = "空开名称")
    @ApiModelProperty(value = "空开名称")
    private String airName;

    /** 属性编号 */
    @ApiModelProperty(value = "编号")
    private Long attrId;

    /** 部件编号 */
    @Excel(name = "编码")
    @ApiModelProperty(value = "编码")
    private String airNum;

    /** 线径 */
    @Excel(name = "线径")
    @ApiModelProperty(value = "线径")
    private String diameter;

    /** 企业 */
    @Excel(name = "企业")
    @ApiModelProperty(value = "企业")
    private String en;

    /** 企业 */
    @Excel(name = "申报容量")
    @ApiModelProperty(value = "企业申报容量")
    private String enAllow;
}
